x

y

z

D

A

B

C

a_1

a

V_1

V

P

R

R_1

P'

r

r_1

p_1^\rho

I

II

X

Y

\textrm{Sestrojte průsečíky přímky }a\textrm{ se šikmým jehlanem, jehož podstava }ABCD\textrm{ leží v půdorysně \pi.}

O = Intersect(xAxis, yAxis)
X_1 = (-3.9, -2.38)
Y_1 = (3.42, -2.12)
Z_1 = Point(yAxis)
u = Vector(O, X_1)
v = Vector(O, Y_1)
w = Vector(O, Z_1)
D = Point(u)
C = Point(v)
a = Segment(D, C)
A = (-2.46, -2.18)
b = Segment(D, A)
c = Line(A, a)
d = Line(C, b)
B = Intersect(c, d)
e = Segment(A, B)
f = Segment(C, B)
V = (0.48, 3.36)
g = Line(V, w)
V_1 = Point(g)
h = Segment(V, V_1)
pos = 9 (slider from 0 to 9, step 1)
U_1 = Intersect(a, h)
P = (-2.5, -3.16)
i = Ray(P, U_1)
j = Ray(P, C)
U_2 = Point(i)
k = Line(U_2, w)
U_3 = Intersect(j, k)
l = Segment(U_2, P)
m = Segment(P, U_3)
n = Segment(A, V)
p = Segment(D, V)
q = Segment(V, B)
r = Segment(V, C)
R = Point(l)
s = Line(R, w)
R_1 = Intersect(m, s)
t = Segment(R, R_1)
a_1 = Ray(V, R)
b_1 = Ray(V_1, R_1)
P' = Intersect(a_1, b_1)
c_1 = Segment(V, P')
d_1 = Segment(V_1, P')
e_1 = Segment(P, P')
M = Intersect(e, e_1)
N = Intersect(e_1, a)
f_1 = Segment(P, M)
g_1 = Segment(M, N)
U_4 = Intersect(r, e_1)
h_1 = Segment(N, U_4)
i_1 = Segment(U_4, P')
j_1 = Segment(M, V)
k_1 = Segment(N, V)
X = Intersect(j_1, l)
Y = Intersect(l, k_1)
U_5 = Intersect(r, l)
l_1 = Segment(P, X)
m_1 = Segment(X, Y)
n_1 = Segment(Y, U_5)
p_1 = Segment(U_5, U_2)
mnohoúhelník1, n_2, v_1, m_2 = Polygon(V, M, N)